<?php
namespace app\models;

use yii\db\ActiveRecord;

/**
 * 资讯标签映射
 *
 * Class ArticleTagMap
 * @package app\models
 *
 * @property integer $id
 * @property integer $tid
 * @property integer $aid
 */
class ArticleTagMap extends ActiveRecord
{

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['tid', 'aid'], 'integer'],
            [['tid', 'aid'], 'required'],
        ];
    }
}
